<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <link href="<?php HTMLHelper::baseUrl() ?>css/home_styles.css" rel="stylesheet" type="text/css">
      <link href="<?php HTMLHelper::baseUrl() ?>js/dd.css" rel="stylesheet" type="text/css">
      <title>SPATIA Vademecum Veterinario Actualizado</title>
      <script src="<?php HTMLHelper::baseUrl() ?>js/jquery-1.6.2.min.js"></script>
      <script src="<?php HTMLHelper::baseUrl() ?>js/jquery.dd.js"></script>

      <script type="text/javascript">
          jQuery(function(jQuery){
              $(".selector_pais").bind( "change", function(){ top.location.href = "<?php HTMLHelper::baseUrl() ?>pais/" + $(this).val(); });
          });
      </script>
      <script language="javascript" type="text/javascript">

          function showvalue(arg) {
              alert(arg);
              //arg.visible(false);
          }


          $(document).ready(function() {

              try {
                  oHandler = $(".selector_pais").msDropDown().data("dd");
                  //oHandler.visible(true);
                  //alert($.msDropDown.version);
                  //$.msDropDown.create("body select");
                  $("#ver").html($.msDropDown.version);
              } catch(e) {
                  alert("Error: "+e.message);
              }
          })
          /*
          $(document).bind("keydown", function() {
              console.log("document keydown");
          })
          */
      </script>
      <style type="text/css">
        <!--
        body {
          margin-left: 0px;
          margin-top: 0px;
          margin-right: 0px;
          margin-bottom: 0px;
          background-color: #fafcfb;
        }
        -->
      </style></head>

  <body>
    <div id="contenedor">
      <div id="vacio">
          <div id="selector_pais" class="portada">
              <form name="form5" id="form-portada">
                  <?php PaisHelper::select_flags(1); ?>
              </form>
          </div>
      </div>
  </body>
</html>
